
/**
 * package级别的Log类
 * 工具类
 */

package com.android.JiYclock;

import android.os.SystemClock;
import android.util.Config;

public class Log {
    public final static String LOGTAG = "AlarmClock";

    public static String getLogtag() {
		return LOGTAG;
	}

	static final boolean LOGV = AlarmClock.DEBUG ? Config.LOGD : Config.LOGV;

    public static void v(String logMe) {
        android.util.Log.v(LOGTAG, SystemClock.uptimeMillis() + " " + logMe);
    }

    public static void i(String logMe) {
        android.util.Log.i(LOGTAG, logMe);
    }

    public static void e(String logMe) {
        android.util.Log.e(LOGTAG, logMe);
    }

    public static void e(String logMe, Exception ex) {
        android.util.Log.e(LOGTAG, logMe, ex);
    }
}
